<div>
	<hr>
	<ul class="breadcrumb">
		<li>
			<a href="<?php echo Yii::app()->createUrl('site/index'); ?>">Trang chủ</a> <span class="divider">/</span>
		</li>
		<li>
			<a href="#">Danh mục</a>
		</li>
	</ul>
	<hr>
</div>
<div class="row-fluid sortable">		
	<div class="box span12">
		<div class="box-header" data-original-title>
			<h2><i class="icon-list-alt"></i><span class="break"></span>Quản lý danh mục</h2>
			<div class="box-icon">
				<a href="#" class="btn-setting"><i class="icon-wrench"></i></a>
				<a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>
				<a href="#" class="btn-close"><i class="icon-remove"></i></a>
			</div>
		</div>
		<div class="box-content">
			<table class="table table-striped table-bordered bootstrap-datatable datatable">
				<thead>
					<tr>
						<th>Tên danh mục</th>
						<th>Loại danh mục </th>
						<th>Tên rút gọn</th>
						<th>Hành động</th>
					</tr>
				</thead>   
				<tbody>
					<?php foreach($menu as $value) : ?>
					<tr>
						<td><?php echo $value['name']; ?></td>
						<td class="center"><?php echo $value['description'];?></td>
						<td class="center"><?php echo $value['access_url'] ?></td>
						<td class="center">
							<a title="Chỉnh sửa danh mục" class="btn btn-info" href="<?php echo $this->createUrl('menu/update',array('id' => $value['id'])); ?>">
								<i class="icon-edit icon-white"></i> 
							</a>						
						</td>
					</tr>
				<?php endforeach; ?>
			</tbody>
		</table>            
	</div>
</div>
<!-- </div> --> <!--  --><!--/row -->
